<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/1
 * Time: 9:03
 */

namespace vendor\core;

//积分订单
class integralOrder extends order
{
    public function __construct($userId)
    {
        parent::__construct($userId, 1);
    }
    public function pay(){
        echo '扣除积分成功!<br />';
        //支付完毕后的处理
        parent::pay();
    }
}